diff options
| author | Adam Soltys <[email protected]> | 2026-02-16 22:48:48 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-02-16 22:48:48 -0800 |
| commit | 6a607d98d4368d6d171a40fad83f65167198f4c5 (patch) | |
| tree | 7e6ff20868a10a48aa50e2a8544f964d0d8ccedf /src/routes/(app)/payment/[id] | |
| parent | d0784c34787e6d96f0131af2e12079e7915b2f57 (diff) | |
| download | coinos-ui-6a607d98d4368d6d171a40fad83f65167198f4c5.tar.gz coinos-ui-6a607d98d4368d6d171a40fad83f65167198f4c5.zip | |
ark notifications
Diffstat (limited to 'src/routes/(app)/payment/[id]')
| -rw-r--r-- | src/routes/(app)/payment/[id]/+page.svelte | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/src/routes/(app)/payment/[id]/+page.svelte b/src/routes/(app)/payment/[id]/+page.svelte index 657f0c95..c435f844 100644 --- a/src/routes/(app)/payment/[id]/+page.svelte +++ b/src/routes/(app)/payment/[id]/+page.svelte @@ -81,9 +81,9 @@ aria-label="Toggle currency display" > {#if $fiat} - <div class="flex items-center gap-1">{f(toFiat(amount, rate), currency, userLocale)}</div> + <div class="flex items-center">{f(toFiat(amount, rate), currency, userLocale)}</div> {:else} - <div class="flex items-center gap-1"> + <div class="flex items-center"> <iconify-icon noobserver icon="ph:lightning-fill" class="text-yellow-300"></iconify-icon> {s(amount, userLocale)} </div> @@ -144,7 +144,7 @@ <div> <span class="text-lg text-secondary">{$t("payments.date")}</span> <div> - {format(new Date(created), "h:mmaaa", { locale })}{format(new Date(created), "MMM d, yyyy", { locale })} + {format(new Date(created), "MMM d, yyyy", { locale })} {format(new Date(created), "h:mmaaa", { locale })} </div> </div> @@ -189,6 +189,17 @@ </div> {/if} + {#if type === types.ark && hash} + <div> + <span class="text-lg text-secondary">Txid</span> + <div class="flex"> + <div>{hash}</div> + <button class="flex font-bold hover:opacity-80 mb-auto my-auto" onclick={() => copy(hash)} aria-label="Copy transaction ID" + ></button> + </div> + </div> + {/if} + {#if type === "bitcoin" || type === "liquid"} <div> <span class="text-lg text-secondary">Txid</span> |
